﻿using Book_WebAPI.Models;

namespace Book_WebAPI.Services
{
    public interface IBookRepository
    {
        IEnumerable<Book> GetBookForAuthor(int authorId);
        Book GetBookForAuthor(int id, int authorId);
        void AddBook(Book book);
        void DeleteBook(Book book);
        void UpdateBook(int authorId, int id, BookUpdate bookUpdate);
    }
}
